import Vue from 'vue'
import Router from 'vue-router'
import index from '@/view/index'
// import addUser from '@/view/addUser'
import index1 from '@/view/index1'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    // {
    //   path: '/addUser',
    //   name: 'addUser',
    //   component: addUser
    // }
    {
      path: '/index1',
      name: 'index1',
      component: index1
    },
  ]
})
